package com.lhl.security.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lhl.security.domain.Menu;
import com.lhl.security.service.MenuService;
import com.lhl.security.mapper.MenuMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Husky
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu>
implements MenuService{

    private final MenuMapper menuMapper;

    public MenuServiceImpl(MenuMapper menuMapper) {
        this.menuMapper = menuMapper;
    }

    @Override
    public List<Menu> getAllMenuList() {
        return menuMapper.getAllMenuList();
    }
}




